﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CategoriesMgmView.aspx.cs" Inherits="Skynet.WebSite.Mobile.CategoriesMgmView.IPHONE.CategoriesMgmView" Theme="IPHONE"   StylesheetTheme="IPHONE" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <h1>  Categories </h1>
    <table>
        <tr>
            <td>
                <asp:GridView ID="gvCategories" runat="server" AllowPaging="True" 
                    AutoGenerateColumns="False" CellPadding="4" DataKeyNames="Id" 
                    DataSourceID="ocdsCategories" ForeColor="#333333" GridLines="None" PageSize="5">
                    <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                    <Columns>
                        <asp:CommandField ShowSelectButton="True" />
                        <asp:BoundField DataField="Id" HeaderText="Id" SortExpression="Id" 
                            Visible="False" />
                        <asp:BoundField DataField="Title" HeaderText="Title" SortExpression="Title" />
                        <asp:BoundField DataField="Description" HeaderText="Description" 
                            SortExpression="Description" />
                        <asp:BoundField DataField="OptimisticId" HeaderText="OptimisticId" 
                            SortExpression="OptimisticId" Visible="False" />
                        <asp:BoundField DataField="FullDescription" HeaderText="FullDescription" 
                            ReadOnly="True" SortExpression="FullDescription" Visible="False" />
                    </Columns>
                    <EditRowStyle BackColor="#999999" />
                    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                    <SortedAscendingCellStyle BackColor="#E9E7E2" />
                    <SortedAscendingHeaderStyle BackColor="#506C8C" />
                    <SortedDescendingCellStyle BackColor="#FFFDF8" />
                    <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td> 
                    <asp:ObjectDataSource ID="ocdsCategories" runat="server" 
                        DataObjectTypeName="Skynet.BusinessEntities.ExamCategory" DeleteMethod="Delete" 
                        OldValuesParameterFormatString="original_{0}" SelectMethod="GetCategorias" 
                        
                        TypeName="Skynet.WebAdministracion.Views.CategoriesMgm.CategoriesMgmPresenter" 
                        InsertMethod="Add" UpdateMethod="Update"></asp:ObjectDataSource>
                    </td>
        </tr>
    </table>
    </form>
</body>
</html>
